package com.lxx.redisdemo.model;

/**
 * ClassName:User
 * Package:com.lxx.redisdemo.model
 * Description:
 *
 * @Date:2021/8/8 14:47
 * @Author:857251389@qq.com
 */

public class User {

    private String name;

    private int age;

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
